const {
    scheduleJob
} = require('./index')


class order extends scheduleJob{
    constructor(time){
        super()
        this.time = time
        this.startTime(this.timeFn)
    }
    timeFn(){
        console.log('定时器开始啦1')
    }
}

class order1 extends scheduleJob{
    constructor(time){
        super()
        this.time = time
        this.startTime(this.timeFn)
    }
    timeFn(){
        console.log('定时器开始啦2')
    }
}

module.exports = {
    order,
    order1
}